<template>
 
    <!-- 占位符 -->
    <router-view/>
    <!-- 底部选项卡 -->
    <van-tabbar v-model="active" active-color="#fcc01e" inactive-color="#000">
  <van-tabbar-item icon="home-o" to="/home/index">首页</van-tabbar-item>
  <van-tabbar-item icon="shop-collect" to="/home/yanxuan">严选二手</van-tabbar-item>
  <van-tabbar-item icon="refund-o" to="/home/xianzhi">卖闲置</van-tabbar-item>
  <van-tabbar-item icon="shop-o" badge="5" to="/home/service">服务站</van-tabbar-item>
  <van-tabbar-item icon="contact" badge="20" to="/home/mine" >我的</van-tabbar-item>
</van-tabbar>
</template>

<script setup lang="ts">
 import { ref } from 'vue';
    const active = ref(0);
</script>

<style scoped>

</style>